#include "widget.h"
#include "ui_widget.h"
#include <QDebug>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_radioButton_1_clicked()
{
    qDebug() << "radioButton_1 : " <<  ui->radioButton_1->isChecked();
}

void Widget::on_radioButton_2_clicked(bool checked)
{
    qDebug() << "radioButton_2 : " << checked;
}

void Widget::on_radioButton_3_pressed()
{
    qDebug() << "radioButton_3 : " << ui->radioButton_3->isChecked();
}

void Widget::on_radioButton_4_released()
{
    qDebug() << "radioButton_4 : " << ui->radioButton_4->isChecked();
}

void Widget::on_radioButton_5_toggled(bool checked)
{
    qDebug() << "radioButton_5 改变 : " << checked;
}
